#include "resuelve.c"

/*
 * Demonstration of Resuelve on a simple maze
 *
 * Resuelve will calculate and display its path from the "s" on the left side
 * of the course to the "f" on the right side of the course, avoiding 
 * collision with the spaces designated "x" on the map
 */

int main ()
{
	// structs for course and solver
	struct ResuelveCourse course;
	struct ResuelveSolver solver;
	
	// load map file into course and solver
	resuelve (&course, &solver, "map.txt");
	// show each step of the path
	resuelve_set_animate_path (&solver, 1);
	
	// calculate a path between start and finish
	resuelve_calculate_path (&course, &solver);
}
